import {WeaTools} from 'ecCom'

/**
 * 绩效-方案指标项（有权限访问的）
 * jiansong 2020/2/12
 */
export const programAccessItemApi = params => {
    return WeaTools.callApi('/api/workrelate/performance/programAccessItem', 'GET', params);
};

/**
 * 绩效-方案指标模板详情
 * jiansong 2020/2/17
 */
export const programItemDetailApi = params => {
    return WeaTools.callApi('/api/workrelate/performance/programItemDetail', 'GET', params);
};

/**
 * 绩效-方案指标模板列表
 * jiansong 2020/2/14
 */
export const programItemListApi = params => {
    return WeaTools.callApi('/api/workrelate/performance/programItemList', 'GET', params);
};

/**
 * 绩效-方案指标项-操作
 * jiansong 2020/2/12
 */
export const programItemOperationApi = params => {
    return WeaTools.callApi('/api/workrelate/performance/programItemOperation', 'POST', params);
};